﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011EF RID: 4591
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StarFightDataChangeNotify : IMessage<StarFightDataChangeNotify>, IMessage, IEquatable<StarFightDataChangeNotify>, IDeepCloneable<StarFightDataChangeNotify>, IBufferMessage
	{
		// Token: 0x17003A25 RID: 14885
		// (get) Token: 0x0600CDAC RID: 52652 RVA: 0x0022A0D7 File Offset: 0x002282D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StarFightDataChangeNotify> Parser
		{
			get
			{
				return StarFightDataChangeNotify._parser;
			}
		}

		// Token: 0x17003A26 RID: 14886
		// (get) Token: 0x0600CDAD RID: 52653 RVA: 0x0022A0DE File Offset: 0x002282DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StarFightDataChangeNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003A27 RID: 14887
		// (get) Token: 0x0600CDAE RID: 52654 RVA: 0x0022A0F0 File Offset: 0x002282F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StarFightDataChangeNotify.Descriptor;
			}
		}

		// Token: 0x0600CDAF RID: 52655 RVA: 0x0022A0F7 File Offset: 0x002282F7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StarFightDataChangeNotify()
		{
		}

		// Token: 0x0600CDB0 RID: 52656 RVA: 0x0022A100 File Offset: 0x00228300
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StarFightDataChangeNotify(StarFightDataChangeNotify other) : this()
		{
			this.groupId_ = other.groupId_;
			this.mJHOFNHEJFB_ = ((other.mJHOFNHEJFB_ != null) ? other.mJHOFNHEJFB_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CDB1 RID: 52657 RVA: 0x0022A14C File Offset: 0x0022834C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StarFightDataChangeNotify Clone()
		{
			return new StarFightDataChangeNotify(this);
		}

		// Token: 0x17003A28 RID: 14888
		// (get) Token: 0x0600CDB2 RID: 52658 RVA: 0x0022A154 File Offset: 0x00228354
		// (set) Token: 0x0600CDB3 RID: 52659 RVA: 0x0022A15C File Offset: 0x0022835C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x17003A29 RID: 14889
		// (get) Token: 0x0600CDB4 RID: 52660 RVA: 0x0022A165 File Offset: 0x00228365
		// (set) Token: 0x0600CDB5 RID: 52661 RVA: 0x0022A16D File Offset: 0x0022836D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StarFightGroupInfo MJHOFNHEJFB
		{
			get
			{
				return this.mJHOFNHEJFB_;
			}
			set
			{
				this.mJHOFNHEJFB_ = value;
			}
		}

		// Token: 0x0600CDB6 RID: 52662 RVA: 0x0022A176 File Offset: 0x00228376
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StarFightDataChangeNotify);
		}

		// Token: 0x0600CDB7 RID: 52663 RVA: 0x0022A184 File Offset: 0x00228384
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StarFightDataChangeNotify other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && object.Equals(this.MJHOFNHEJFB, other.MJHOFNHEJFB) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CDB8 RID: 52664 RVA: 0x0022A1D4 File Offset: 0x002283D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.mJHOFNHEJFB_ != null)
			{
				num ^= this.MJHOFNHEJFB.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CDB9 RID: 52665 RVA: 0x0022A229 File Offset: 0x00228429
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CDBA RID: 52666 RVA: 0x0022A231 File Offset: 0x00228431
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CDBB RID: 52667 RVA: 0x0022A23C File Offset: 0x0022843C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.GroupId);
			}
			if (this.mJHOFNHEJFB_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.MJHOFNHEJFB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CDBC RID: 52668 RVA: 0x0022A298 File Offset: 0x00228498
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.mJHOFNHEJFB_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.MJHOFNHEJFB);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CDBD RID: 52669 RVA: 0x0022A2F0 File Offset: 0x002284F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StarFightDataChangeNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.mJHOFNHEJFB_ != null)
			{
				if (this.mJHOFNHEJFB_ == null)
				{
					this.MJHOFNHEJFB = new StarFightGroupInfo();
				}
				this.MJHOFNHEJFB.MergeFrom(other.MJHOFNHEJFB);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CDBE RID: 52670 RVA: 0x0022A358 File Offset: 0x00228558
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CDBF RID: 52671 RVA: 0x0022A364 File Offset: 0x00228564
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 58U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.mJHOFNHEJFB_ == null)
						{
							this.MJHOFNHEJFB = new StarFightGroupInfo();
						}
						input.ReadMessage(this.MJHOFNHEJFB);
					}
				}
				else
				{
					this.GroupId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005284 RID: 21124
		private static readonly MessageParser<StarFightDataChangeNotify> _parser = new MessageParser<StarFightDataChangeNotify>(() => new StarFightDataChangeNotify());

		// Token: 0x04005285 RID: 21125
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005286 RID: 21126
		public const int GroupIdFieldNumber = 2;

		// Token: 0x04005287 RID: 21127
		private uint groupId_;

		// Token: 0x04005288 RID: 21128
		public const int MJHOFNHEJFBFieldNumber = 7;

		// Token: 0x04005289 RID: 21129
		private StarFightGroupInfo mJHOFNHEJFB_;
	}
}
